#include <stdio.h>
#include "randgen.h"

static int run_test(void)
{
  RAND_GEN *r;
  unsigned long l;
  double d;

  r = Rand_new();

  Rand_long(r, &l);
  printf("long: 0x%lx\n", l);

  Rand_double(r, &d);
  printf("double: %f\n", d);

  Rand_delete(r);

  return 0;
}

  

int main(int argc, char **argv)
{
  run_test();
}
